package com.turing.client;

import com.turing.user.vo.TemplateTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


@FeignClient(name = "data")
public interface AppTemplateClient {

    @GetMapping("/template/getAllTemplateByName")
    List<TemplateTO> getAllTemplateByName(@RequestParam(required = false) String templateName);

}